[IA64] fix dirty_bit in xenivt.S
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 24 May 2006 15:59:04 +0000 (09:59 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 24 May 2006 15:59:04 +0000 (09:59 -0600)
fix dirty_bit in linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S
there was itc.d left which wasn't para-virtualized.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S

index 6e15c0e64d0f03856065b883036e97618adb8ff4..4bf6600a56fb2f46da7bd62fd2b56d727d84044f 100644 (file)
@@ -799,7 +799,16 @@ ENTRY(dirty_bit)
        ;;
 (p6)   cmp.eq p6,p7=r26,r18                    // Only compare if page is present
        ;;
+#ifdef CONFIG_XEN
+(p6)   mov r18=r8
+(p6)   mov r8=r25
+       ;;
+(p6)   XEN_HYPER_ITC_D
+       ;;
+(p6)   mov r8=r18
+#else
 (p6)   itc.d r25                               // install updated PTE
+#endif 
        ;;
        /*
         * Tell the assemblers dependency-violation checker that the above "itc" instructions